package com.eggplant.timetools;


import com.eggplant.timetools.utils.MyLog;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;

public class ErrorReceiver extends BroadcastReceiver {

	@Override
	public void onReceive(Context context, Intent intent) {
		MyLog.e("ydy", "error report 000000");
		Intent i = new Intent(context,ReportActivity.class);
		//Intent i = new Intent(context,TaskDetailActivity.class);
		i.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
		context.startActivity(i);
		 if("egg_common_error_report".equals(intent.getAction())){
		  }

	}

}
